import http from "@/utils/request"

export default {
	index: {
		method: `patient.patientOrder.list`,
		name: "问诊单列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	detail: {
		method: `patient.patientOrder.detail`,
		name: "问诊单详情",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	caseStore: {
		method: `patient.patientOrder.caseStore`,
		name: "电子病例保存服务",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	medicineStore: {
		method: `patient.patientOrder.medicineStore`,
		name: "诊疗建议",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	syncOrder: {
		method: `patient.patientOrder.syncOrder`,
		name: "问诊单同步监管",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	syncList: {
		method: `patient.patientOrder.syncList`,
		name: "问诊单同步记录列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	serviceProvider: {
		method: `patient.patientOrder.serviceProvider`,
		name: "服务商列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	patientPic: {
		method: `patient.patientOrder.patientPic`,
		name: "问诊图片列表",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
}
